import service from "@/utils/fetch";
const post = {
  //查询标签分页
  skuAttribute_list(params) {
    return service({
      method: "get",
      data: params,
      url: "/api/skuAttribute/",
    });
  },

  // 新增标签
  skuAttribute_add(params) {
    return service({
      method: "post",
      data: params,
      url: "/api/skuAttribute/",
    });
  },

  // 编辑标签
  skuAttribute_edit(params) {
    return service({
      method: "put",
      data: params,
      url: "/api/skuAttribute/",
    });
  },

  // 删除标签
  skuAttribute_delete(ids) {
    return service({
      method: "delete",
      data: ids,
      url: "/api/skuAttribute/",
    });
  },
};

export default post;
